<table>
	<tr>
		<th>Game</th>
		<th>Result</th>
	</tr>
	<% for game in @games -%>
		<tr>
			<td><%= link_to "#{game.player1} vs. #{game.player2}", :action => 'show', :id => game %></td>
			<td><%= game.result %></td>
			<td><%= link_to "Destroy", { :action => 'destroy', :id => game }, :confirm => 'Are you sure?' %></td>
		</tr>
	<% end -%>
</table>

<%= link_to 'New Game', :action => 'new' %>